home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9801 / text0129.txt < prev    next >
Encoding:
Text File  |  1998-01-31  |  1.5 KB  |  43 lines

  1. >I've got a gcc pre-2.8 snapshot (think it's december 25th) and binutils
  2.  
  3. BTW, I sent the config.guess patch to the gcc2 people just now.  I've appended 
  4. a copy of it below in case anybody else is having trouble with gcc-2.8.0 not 
  5. correctly detecting their system type.
  6.  
  7. p.
  8.  
  9. Mon Jan 19 15:30:12 1998  Philip Blundell  <pb@nexus.co.uk>
  10.  
  11.     * config.guess: Add support for Linux/ARM.
  12.  
  13. Index: config.guess
  14. ===================================================================
  15. RCS file: /usr/repository/gnu/gcc/config.guess,v
  16. retrieving revision 1.3
  17. diff -u -r1.3 config.guess
  18. --- config.guess    1997/11/17 11:57:41    1.3
  19. +++ config.guess    1997/12/01 14:17:11
  20. @@ -493,6 +493,12 @@
  21.      echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  22.      exit 0 ;;
  23.      *:Linux:*:*)
  24. +    # uname on the ARM produces all sorts of strangeness, and we need to
  25. +    # filter it out.
  26. +    case "$UNAME_MACHINE" in
  27. +      arm* | sa110*)          UNAME_MACHINE="arm" ;;
  28. +    esac
  29. +
  30.      # The BFD linker knows what the default object file format is, so
  31.      # first see if it will tell us.
  32.      ld_help_string=`ld --help 2>&1`
  33. @@ -506,6 +512,7 @@
  34.        i?86linux)  echo "${UNAME_MACHINE}-pc-linux-gnuaout"      ; exit 0 ;;
  35.        i?86coff)   echo "${UNAME_MACHINE}-pc-linux-gnucoff"      ; exit 0 ;;
  36.        sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  37. +      armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  38.        m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  39.        elf32ppc)   echo "powerpc-unknown-linux-gnu"              ; exit 0 ;;
  40.      esac
  41.  
  42.  
  43.